#!/bin/sh

: ${GOTESTSUM_COMMIT:=v0.3.5}

install_gotestsum() (
	set -e
	export GO111MODULE=on
	go get -d "gotest.tools/gotestsum@${GOTESTSUM_COMMIT}"
	go build ${GO_BUILDMODE} -o "${PREFIX}/gotestsum" 'gotest.tools/gotestsum'

)
